%html
	%head
		%title My Blog
	%body
		%h1 Edit Post
		= form_for @blog_post ,:url => { :action => "update" } do |f|
			%p
				=f.label :title
				=f.text_field :title
			%p
				=f.label :content
				=f.text_field :content
			%p
				=f.submit 'Save'
	= link_to 'Back', blog_posts_path